package com.it.mydream.Service.imp;

import com.it.mydream.Bean.Seed;
import com.it.mydream.Dao.SeedDao;
import com.it.mydream.Service.SeedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SeedServiceImp implements SeedService {

    @Autowired
    private SeedDao seedDao;
    @Override
    public void insertSeed(Seed rk) {
        seedDao.insertSeed(rk);
    }
    @Override
    public void updateSeed(Seed rk) {
        seedDao.updateSeed(rk);
    }
    @Override
    public Seed selectSeed(String seed) {
        return seedDao.selectSeed(seed);
    }
}
